package com.ysl.study.designpattern.structure.adaptation;

/**
 * 对象适配器
 *
 * @author yangshanlin
 * @date 2023/3/22 10:34
 * @describe
 */
public class ObjectAdapter implements TargetOnlineReading{

    private AdapteePaperReading adaptee = new AdapteePaperReading();

    @Override
    public void readOnline() {

        System.out.println("对象适配，读电子书...");
    }

}
